package com.iweb.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @PostMapping("/user/hello")
    public String hello(String name) {
        return "Hello " + name;
    }

    @PostMapping("/user/hi")
    public String hi(String name) {
        return "hi " + name;
    }
//
//    @PostMapping("/user/save")
//    public String save(String name) {
//        return "save " + name;
//    }
//
//    @PostMapping("/user/delete")
//    public String delete(String name) {
//        return "delete " + name;
//    }
}
